package com.bw.module_mine.login.ui

import android.os.Bundle
import android.util.Log
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.NavController
import androidx.navigation.findNavController
import androidx.navigation.fragment.NavHostFragment
import com.alibaba.android.arouter.facade.annotation.Route
import com.bw.lib_common.arouter.Router
import com.bw.lib_common.base.BaseActivity
import com.bw.module_mine.R
import com.bw.module_mine.databinding.ActivityLoginBinding
import com.bw.module_mine.login.viewmodel.UserViewModel
import dagger.hilt.android.AndroidEntryPoint
import kotlinx.coroutines.launch

@AndroidEntryPoint
@Route(path = Router.Ui.LoginActivity)
class LoginActivity : BaseActivity<UserViewModel,ActivityLoginBinding>() {
    override val mLayoutResId: Int
        get() = R.layout.activity_login

    private val mViewModel:UserViewModel by viewModels()
    private lateinit var mNavController:NavController


    override fun initView() {
        super.initView()
        super.initView()
        mNavController = (supportFragmentManager.findFragmentById(R.id.fragmentContainerView2) as NavHostFragment).navController
    }

    override fun initListener() {

    }



}